#ifndef BUTTON_H
#define BUTTON_H

#include <QWidget>
#include <QPushButton>
#include <QPixmap>
#include <QRect>

class Button : public QPushButton
{
    Q_OBJECT
public:
    explicit Button(QWidget *parent = nullptr);

    Button(QString pixpath);

    void setrct();

    void setsize(int w,int h);



public:

    QPixmap pix;

    QRect rct;


signals:

};

#endif // BUTTON_H
